package io.github.eric.urpc.example.example;

import io.github.eric.urpc.example.SimpleClient;
import io.github.eric.urpc.example.SimpleServer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


public class HeartBeatExample {
    private static final Logger LOGGER = LoggerFactory.getLogger(HeartBeatExample.class);

    public static void main(String[] args) throws Exception {

        SimpleServer simpleServer = new SimpleServer();
        simpleServer.start();

        SimpleClient simpleClient = new SimpleClient();
        simpleClient.connectOnce();

    }
}
